how to open the gates